﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common.Enum;

namespace W.Warehouse.Domain.DTO
{
    public class OutboundDTO
    {
        /// <summary>
        /// 出库id
        /// </summary>
        public int Outboundid { get; set; }
        /// <summary>
        /// 出库单号
        /// </summary>
        public string? OutboundNo { get; set; }
        /// <summary>
        /// 出库单类型
        /// </summary>
        public string? OutboundType { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? AssociateNumber { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string? CustomerNo { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? CustomerName { get; set; }
        /// <summary>
        /// 客户联系人
        /// </summary>
        public string? CustomerContact { get; set; }
        /// <summary>
        /// 客户联系方式
        /// </summary>
        public string? CustomerPhone { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? SingleMaker { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? SingleTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? OutboundRemarks { get; set; }
        /// <summary>
        /// 出库单状态
        /// </summary>
        public AuditStatus? OutboundState { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string? ExamineReason { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? ExaminePeople { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ExamineTime { get; set; }
        /// <summary>
        /// 送货时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id { get; set; }

        /// <summary>
        /// 出库产品信息id
        /// </summary>
        public int OutboundidProductsId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string? ProductNo { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? ProductSpec { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 出库数
        /// </summary>
        public int? OutStorageNum { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string? BinLocationName { get; set; }

        public string? VendorNo { get; set; }

        public string? VendorName { get; set; }

        public string? VendorContact { get; set; }

        public string? VendorPhone { get; set; }
    }
}
